package com.leinao.constant;

/**
 * @author  wangshoufa 
 * @date 2018年11月15日 下午1:15:36
 *
 */

public enum ImageErrorEnum {

	LOGIN_TIMEOUT(-1,"登录超时，请重新登录"),
	REDIS_RESOURCE_ERROR(-2,"redis资源获取失败"),
	IMAGE_NAME_EXIST(20001,"镜像名称已存在"),
	IMAGE_IS_NOT_CREATED(20002,"镜像不存在"),
	IMAGE_Limit(20003,"镜像数量超过限制"),
	PARAMETER_NULL(-3,"参数为空");
	private Integer seq;
    private String desc;

    ImageErrorEnum(Integer seq, String desc) {
        this.seq = seq;
        this.desc = desc;
    }

	public int getSeq() {
		return seq;
	}

	public String getDesc() {
		return desc;
	}

}
